package com.varton.strategy;

import java.util.Map;

/**
 *
 * @author lihuazeng
 */
public class AliasA implements IAlias{
    @Override
    public String alias(Map<String, Object> reqMap) {
        if (reqMap.get("age") != null && (int)reqMap.get("age") < 18){
            return A;
        }
        return null;
    }
}